﻿package com.dcliment.models
{
	import com.models.CommonDataModel;
	
	import flash.events.Event;
	import flash.utils.Dictionary;
	
	/**
	 * To be used with MetricsController ::
	 *  
	 * @author dcliment
	 * version 1.0;
	 */	
	public class MetricsModel extends CommonDataModel
	{
		// FROM XML
		private var _dbPath:String;
		private var _appCode:String;
		private var _deviceCode:String;
		private var _doesRecord:Boolean;
		
		public function MetricsModel()
		{
			super();
		}
		// FROM XML
		//----------------------------------------------
		public function set dbPath(value:String):void
		{
			_dbPath = value;
		}
		override public function getMetricsPath():String 
		{		
			return _dbPath;
		}
		public function set appCode(value:String):void
		{
			_appCode = value;
		}
		override public function getMetricsAppCode():String 
		{			
			return _appCode
		}
		public function set deviceCode(value:String):void
		{
			_deviceCode = value;
		}
		override public function getDeviceCode():String 
		{
			return _deviceCode;
		}
		public function set doesRecord(value:Boolean):void
		{
			_doesRecord = value;
		}
		override public function getDoesRecordMetrics():Boolean 
		{			
			return _doesRecord;
		}
		//----------------------------------------------------------
	}
}